html,
body {
    height: 100%;
    margin: 0;
}

.loginContainer {
    width: 100%;
    height: 100%;
    background: #fafafa;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    .loginBox {
        button {
            margin-top: 15px;
        }
    }
}

.sidebarContainer {
    display: flex;
    justify-content: space-between;
    width: 100%;
    height: 100%;
}

.sidebar-center {
    flex-grow: 1;
    padding: 15px;
    display: none;
}

.sidebar-right {
    width: 45px;
    background: #F6F6F8;
}

/*首页顶部区域样式*/
.index-info {
    margin-top: 50px;
}

.index-btn {
    margin-top: 20px;
}

/*.index-btn-item{*/
/*    margin-left: 10px;*/
/*}*/

.index-list {
    margin-top: 20px;
}

.index-list-item:hover {
    cursor: pointer;
    opacity: 0.6;
}

.clear {
    clear: both;
}

/*-------------------------------------------------*/

/*输入框样式*/
.chat-box {
    width: calc(100% - 70px);
    margin-top: 20px;
    position: absolute;
    bottom: 20px;
}

.chat-input {
    border: 1px solid #ccc;
    border-radius: 10px;
}

#chat-input-area {
    outline: none;
    width: 100%;
    padding: 2px 12px 2px 2px;
    line-height: 20px;
    overflow-y: hidden;
    resize: none;
    height: 64px;
    min-height: 64px;
    max-height: 324px;
    border-radius: 10px;
    border: 0;
}

.chat-input-btn {
    text-align: right;
}

#chat-input-send-btn {
    width: 25px;
    height: 25px;
    margin-right: 10px;
    margin-bottom: 10px;
}

#chat-input-send-btn:hover {
    cursor: pointer;
}

.chat-tool {
    margin-bottom: 10px;
}

.chat-tool-left {
    float: left;
}

.chat-tool-right {
    float: right;
    padding-top: 5px;
}

.chat-tool-right-item {
    float: left;
}

.chat-tool-btn:hover {
    cursor: pointer;
}

.chat-tool-btn {
    font-size: 20px;
    margin-right: 10px;
}


/*-------------------------------------------------*/

.msg-list {
    height: 650px;
    overflow-y: auto;
}

/*会话相关样式*/
.msg-user-info {
    display: flex;
    justify-content: flex-end;
    font-size: 16px;
    margin: 20px;
}

.msg-user-info span {
    padding: 0;
    margin: 0;
    border-radius: 10px;
}

.msg-user-info span pre {
    width: 100%;
    white-space: pre-wrap;
    padding: 10px;
    margin: 0;
}

.msg-chat-info {
    display: flex;
    justify-content: flex-start;
    font-size: 14px;
    margin-right: 20px;
}

.msg-chat-info span {
    width: 100%;
    white-space: pre-wrap;
    padding: 10px;
    margin: 0;
}



/*---------------------- 右侧功能区 ---------------------------*/
.user-avatar {
    position: absolute;
    bottom: 20px;
    margin-left: 5px;
}

#user-img {
    width: 35px;
    height: 35px;
    border-radius: 50px;
}

.user-avatar img {
    cursor: pointer;
    width: 35px;
    height: 35px;
    border-radius: 50px;
}

.right-tool-icon {
    width: 35px;
    height: 35px;
    margin-left: 5px;
    margin-top: 10px;
    padding: 5px;
    cursor: pointer;
}

.right-tool-icon:hover {
    background: #ffffff;
    border-radius: 5px;
}


/*---------------------- Sidebar Agent ---------------------------*/
#sidebar-agent-list .agent-item {
    margin-bottom: 20px;
}

.containerWrap {
    width: 100vw;
    height: 100vh;

    .tabsDom {
        height: inherit;
        width: inherit;
        flex-direction: row-reverse;

        .semi-tabs-bar {
            width: 45px;
            background: #F6F6F8;
            padding: 10px 5px;

            .semi-tabs-tab {
                // margin-top: 10px;
                height: 45px;
                padding: 0;
                // margin: 0;

                &.semi-tabs-tab-active {
                    .icon {
                        background: #ffffff;
                        // border-radius: 5px;
                    }
                }

                .icon {
                    width: 35px;
                    height: 35px;
                    padding: 5px;
                    cursor: pointer;
                    outline: unset;

                    &:hover {
                        background: #ffffff;
                        border-radius: 5px;
                    }
                }
            }
        }

        .semi-tabs-content {
            .semi-tabs-pane {
                height: inherit;

                .semi-tabs-pane-motion-overlay {
                    height: inherit;

                    .chatDom {
                        width: inherit;
                        max-width: unset;
                        border: 1px solid var(--semi-color-border);
                        border-radius: 16px;
                        margin: 8px 16px;
                        height: calc(100% - 40px);
                        min-height: 550px;

                        .bottomSlot {
                            margin: 0 16px;
                        }

                        .semi-upload-add {
                            display: none;
                        }

                        .semi-chat-chatBox-content {
                            p {
                                white-space: pre-line;
                            }
                        }
                    }

                    .feedbackDom,
                    .agentDom {
                        padding: 15px;
                    }
                }
            }
        }
    }
}